import React, { useState } from 'react'
import logo from './logo.svg'
import './App.scss'
import Scene from './components/scene'

function App() {
  const [showScene, setShowScene] = useState(true)
  const reloadScene = () => {
    setShowScene(false)
    setTimeout(() => setShowScene(true), 0)
  }

  return (
    <div className="App">
      {showScene && <Scene reloadScene={reloadScene} />}

    </div>
  )
}

export default App
